<?php


namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class CommentNotice extends Model
{
    protected $table   = 'mini_comment_notice';

    protected $guarded = [];

    protected $casts = [
        'created_at' => 'datetime:Y-m-d H:i:s'
    ];

    public function form_user()
    {
        return $this->hasOne(User::class, 'id', 'from_user_id');
    }
}
